﻿<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="ChiTietSanPham.aspx.cs" Inherits="ChiTietSanPham" Title="Untitled Page" %>
<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">
<h5>Menu</h5>
    <ul>
     <li class ="Selected"><a href="DanhSachSanPham.aspx">Danh sách Sản Phẩm</a></li>
       <li><a href="ThemMoiSanPham.aspx">Thêm mới Sản Phẩm</a></li>
    </ul>
    <ul class="Actions">
       <li><a href="DanhSachLoai.aspx">Danh sách Loại SP</a></li>
        <li><a href="ThemMoiLoaiSanPham.aspx">Thêm mới Loại SP</a></li>
    </ul>     
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title">
            Chi tiết sản phẩm
        </div>                
        <div>
          <table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
                  <tr>
                    <td style="width:30%">Mã sản phẩm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_MaSP" runat="server"></asp:Literal>
                    </td>
                </tr> 
                 <tr>
                    <td style="width:30%">Tên sản phẩm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_TenSP" runat="server"></asp:Literal>
                    </td>
                </tr> 
                <tr>
                    <td style="width:30%">Loại sản phẩm</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_LoaiSP" runat="server"></asp:Literal>
                    
                     </td>   
                </tr>   
                   <tr>
                    <td style="width:30%">Hình minh họa</td>
                    <td style="width:70%">
                    <div style="padding-top:10px;">
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#cccccc" border="0">                
                <tbody>
            </HeaderTemplate>
            <ItemTemplate>             
                    <asp:Image ID ="img_HinhAnh" runat ="server" />                  
            </ItemTemplate>
            <FooterTemplate>
              
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
        <div style="width:100%;"> 
            <div style="float:left;">               
               
            </div>
            <cc1:PagerV2_8 ID="PagerV2_8_1" runat="server"  OnCommand="pager_Command" ></cc1:PagerV2_8>
           
    </div> 
        
                    </td>
                </tr>   
                   <tr>
                    <td style="width:30%">
                        Giá bán</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_DonGia" runat="server"></asp:Literal>
                    </td>
                </tr>   
              <tr>
                  <td style="width: 30%">
                      Giá Gốc</td>
                  <td style="width: 70%">
                      <asp:Literal ID="lit_GiaGoc" runat="server"></asp:Literal></td>
              </tr>
                
                 <tr>
                    <td style="width:30%">Số lượng</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_SoLuong" runat="server"></asp:Literal>
                    </td>
                </tr>   
              <tr>
                  <td style="width: 30%">
                      Số lượng đã bán</td>
                  <td style="width: 70%">
                      <asp:Literal ID="lit_SLBan" runat="server"></asp:Literal></td>
              </tr>
                <tr>
                    <td style="width:30%">Mô tả</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_MoTa" runat="server"></asp:Literal>
                    </td>
                </tr>    
                 <tr>
                    <td style="width:30%">Ngày cập nhật</td>
                    <td style="width:70%">
                        <asp:Literal ID="lit_NgayCapNhat" runat="server"></asp:Literal>
                    </td>
                </tr>   
            </table>
        </div>
 </div>
 </div>
</asp:Content>

